package com.heima.article.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jack
 * @data 2024 14:56
 */
@RestController
@RequestMapping("/api/v1/ping")
@Api(tags = "ping测试模块")
public class PingController {

    @ApiOperation("ping功能")
    @GetMapping("/test")
    public  String  loginAuth(){
        return "ping ~ pong~   article~~~";
    }

}
